package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author ganjia
 * @since 2019-01-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCW_T")
public class GwcwT extends PO<GwcwT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWCWENT", type = IdType.INPUT)
    private String GWCWENT;

    private String GWCWDOCNO;

    private BigDecimal GWCWSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCWDOCDATE;

    private String GWCW001;

    private String GWCW002;

    private BigDecimal GWCW003;

    private String GWCW004;

    private String GWCW005;

    private String GWCW006;

    private String GWCW007;

    private String GWCW008;

    private String GWCW009;

    private String GWCW010;

    private String GWCW011;

    private String GWCW012;

    private String GWCW013;

    private String GWCW020;

    private String GWCWACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWCWUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWCWGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWCWMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWCWTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCWDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWCWORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWCWORIU;

    @Override
    protected Serializable pkVal() {
        return this.GWCWENT;
    }

}
